Application::ParseCommandLine

Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:58:03 1991
Index Return to Main Contents
 

NAME

Application::ParseCommandLine - instance method  

TEMPLATE

void ParseCommandLine(int argc, char ** argv)  

SPECIFIERS

public virtual  

DESCRIPTION

ParseCommandLine parses all the arguments specified on the command line.
The method DoParseOptions is called for each argument starting with a "-" together with the immediately following argument. Other arguments are interpreted as names of documents to be opened initially by the method OpenDocument.
This method should be overridden if the application interprets the command line arguments in a completely different way (f.i., if options should not start with "-"). If the application only handles some additional options then the method DoParseOptions should be overridden. Method is rarely overridden.  

ARGUMENTS

int argc

the argc
argument of main. See instvar argc.
char ** argv

the argv
argument of main. See instvar argv.
 

RETURN ARGUMENT

void

 

CATEGORIES

command line, overrider interface

 

FIRST DEFINITION

class Application  

FILES

implementation:
Application.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:31 GMT, March 30, 2022